-- GENERATED SPELL FOR [Master Feardred] --


function spell0_6652(pUnit, Event) --@Arcane Explosion,Self--
pUnit:FullCastSpellOnTarget(21073,pUnit)
pUnit:RegisterEvent('Sorts_6652', 1500, 1)
end

function Sorts_6652(pUnit, Event)
local choix_sorts_6652 = math.random(0, 0)
if choix_sorts_6652 == 0 then
pUnit:RegisterEvent('spell0_6652', 1, 1)
end
end

function mob6652_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6652', math.random(1500, 3000), 1)
end

function mob6652_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6652_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6652_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6652, 1, 'mob6652_Action')
RegisterUnitEvent(6652, 2, 'mob6652_Leave')
RegisterUnitEvent(6652, 3, 'mob6652_Kill')
RegisterUnitEvent(6652, 4, 'mob6652_Die')
